package com.godofgamblers.hotelmanagementsystem.mapper;

import com.godofgamblers.hotelmanagementsystem.pojo.Room_Type;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wzx
 * @date 2019/10/12 - 9:29
 * 测试类主页的mapper
 */
@Repository
public interface TestMapper {
    //查询所有的房间类型返回集合
    @Select("select * from room_type where flag = 1")
    public List<Room_Type> allType();

}
